# 主路由文件
from fastapi import FastAPI

# 导入子路由文件
from cbs.api import cbs_router

app = FastAPI()  # 创建app
# 使用路由
app.include_router(cbs_router, prefix="/cbs", tags=["出版社"])

if __name__ == '__main__':
    import uvicorn

    uvicorn.run(app, host="127.0.0.1", port=8000)
